home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
dev
/
gcc
/
ixemulsrc.lha
/
ixemul-41.4
/
string
/
Makefile.in
< prev
next >
Wrap
Makefile
|
1995-05-23
|
2KB
|
85 lines
#### Start of system configuration section. ####
srcdir = @srcdir@
VPATH = @srcdir@
# Common prefix for machine-independent installed files.
prefix = @prefix@
# Common prefix for machine-dependent installed files.
exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/Sys/libs
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
CC = @CC@
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
RANLIB = @RANLIB@
AR = ar
#### End system configuration section ####
FLAVOR_CFLAGS = -m$(CPU) -m$(FPU)
OTHER_CFLAGS = -fomit-frame-pointer
ALL_CFLAGS = $(CFLAGS) $(FLAVOR_CFLAGS) $(OTHER_CFLAGS) $(INCS) $(DEFS)
DEFS =
INCS = -I$(srcdir) -I$(srcdir)/../library -I$(srcdir)/../include
LIB = libstring.a
.s.o:
cp $< x.c
$(CC) $(ALL_CFLAGS) -traditional -E x.c -o x.s
$(CC) $(ALL_CFLAGS) -c x.s -o $@
rm -f x.c x.s
.c.o:
$(CC) $(ALL_CFLAGS) -c $< -o $@
SRC = bcmp.s bcopy.s bzero.s ffs.s index.s memccpy.c memchr.c \
memcmp.c memcpy.c memmove.c memset.c rindex.s strcasecmp.c \
strcat.c strcmp.s strcoll.c strcpy.s strcspn.c strdup.c \
strerror.c strftime.c strlen.s strmode.c strncat.c strncmp.s \
strncpy.s strpbrk.c strsep.c strspn.c strstr.c strtod.c \
strtok.c strxfrm.c swab.c
OBJ = bcmp.o bcopy.o bzero.o ffs.o index.o memccpy.o memchr.o \
memcmp.o memcpy.o memmove.o memset.o rindex.o strcasecmp.o \
strcat.o strcmp.o strcoll.o strcpy.o strcspn.o strdup.o \
strerror.o strftime.o strlen.o strmode.o strncat.o strncmp.o \
strncpy.o strpbrk.o strsep.o strspn.o strstr.o strtod.o \
strtok.o strxfrm.o swab.o
$(LIB) : $(OBJ)
rm -f $@
$(AR) rv $@ $(OBJ)
$(RANLIB) $@
clean:
rm -f *!
clobber: clean
rm -f $(OBJ) $(LIB)
bcmp.o : $(srcdir)/../library/defs.h
bcopy.o : $(srcdir)/../library/defs.h
bzero.o : $(srcdir)/../library/defs.h
ffs.o : $(srcdir)/../library/defs.h
index.o : $(srcdir)/../library/defs.h
rindex.o : $(srcdir)/../library/defs.h
strcmp.o : $(srcdir)/../library/defs.h
strcpy.o : $(srcdir)/../library/defs.h
strdup.o : $(srcdir)/../library/ixemul.h
strlen.o : $(srcdir)/../library/defs.h
strncmp.o : $(srcdir)/../library/defs.h
strncpy.o : $(srcdir)/../library/defs.h
strftime.o : $(srcdir)/../library/ixemul.h
strtod.o : $(srcdir)/../library/ixemul.h
strtok.o : $(srcdir)/../library/ixemul.h